(function($,jQuery){
	var req = gw.req(),convert=gw.convert,ob=gw.ob;
	
	var common={
		'_hostname':"bbs.2500jj.com",
		'_key':"2500jj"
	};
	
	common['ckManage']=gw.ckManage(["bbs.2500jj.com/",common._hostname+'/mywgu/']);
	var conig={};
	conig['cache']={
		'_default':{'passWord':'klzsklzs'},
		'_expand':{
			'formhash':function(){
				req.open('GET', 'http://bbs.2500jj.com/forumdisplay.php?fid=197', false); 
				req.send(null);
				return req.responseText.match(/formhash[^"]+/g)[0].replace('formhash=','');
			}
		},
		'_init':function(){
			req.open('POST', 'http://bbs.2500jj.com/logging.php?action=login&loginsubmit=yes&floatlogin=yes&inajax=1', false);
			req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
			req.send('formhash=1ebcff93&referer=http%3A%2F%2Fbbs.2500jj.com%2F&loginfield=username&username={#userId2}&password={#passWord}&questionid=0&answer='.format(this));
			return this;
		},
		'_load':function(){
			req.open('POST', "http://bbs.2500jj.com/plugin.php?identifier=dps_sign&module=sign&operation=qiandao&infloat=1&inajax=1", false); 
			req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
			req.send('qdxq=kx&qdmode=3&todaysay=&fastreply=1');
			return this;
		},
		'init':function(){
			this._default={'passWord':'klzsklzs','islog':1};
			this._add({'userId':'legu2009'})._add({'userId':'locker'})
				._toDB();
			console.log('init')
		}
	};
	
	conig['post']={
		'sendURL':'http://bbs.2500jj.com/post.php?action=reply&fid={#fid}&tid={#tid}&extra=page%3D1&replysubmit=yes&infloat=yes&handlekey=fastpost&inajax=1',
		'lockURLT':'http://bbs.2500jj.com/redirect.php?tid={#tid}&goto=lastpost#lastpost',
		'sendDate':'&subject=&usesig=0&message=',
		'lockT':5000,
		'lookT':500,
		'lookfl':60,
		'sendfl':12,
		'_reloadT':5000,
		'_nextT':6000,
		'mode':"post",
		'getfl':function(t){ 
			var flsRe=/<em>(\d+)<\/em>/g,flRe=/\d+/; 
			var fls=t.match(flsRe);
			return parseInt(fls[fls.length-1].match(flRe)[0]);
		},
		'_getParam':function(){
			var mess=$('#fastpostmessage').val(),message=[];
			if(mess==""){
				alert('no message');
				return;
			}
			mess.split(';;;').forEach(function(v,i){
				message.push(parseurl(v));
			});
			return {
				'fid':window.fid,
				'tid':window.tid,
				'mess':message
			}
		}
	};
	
	$.net.panel.register(new $.net.cache($.extend({},common,conig['cache'])));
	for(var i in  $.net.panel.panel){
		$.net.panel.addPanel(i,$.net[i]._init($.extend({},common,conig[i])))
	}
	console.log(common._key+'OK')
})(___jQuery,___jQuery)